function cancelRefresh() {
  return true;
}
// Deshabilitar boton derecho
function notice() {
  menutext.style.left = document.body.scrollLeft+event.clientX;
  menutext.style.top = document.body.scrollTop+event.clientY;
  menutext.style.visibility = "visible";
  return false  }
	
function hidenotice() {
  menutext.style.visibility = "hidden";
}

window.status = "Operativa";

//<div id="menutext"><div url="">
//<script language="JavaScript" type="text/javascript">
//<!--
//document.oncontextmenu = notice;
//if (document.all && window.print) { document.body.onclick = hidenotice; }
//document.onkeydown = cancelRefresh;
// -->
//</script>
//</div></div>

var popped = null;

function popup(uri, awid, ahei) {
   var params;
   if (uri != "") {
        if (popped && !popped.closed) {
                popped.location.href = uri;
                popped.focus();
        } else {
				//awid = window.screen.availWidth-50;
				//ahei = window.screen.availHeight-80;
                params = "toolbar=no,width=" + awid + ",height="+ ahei +",directories=no,status=no,scrollbars=yes,menubar=no,resizable=no";
								//params = "toolbar=no,width=200,height=200,directories=no,status=yes,scrollbars=yes,menubar=no,resizable=no";
                popped = window.open(uri, "popup", params);
        }
		}
}